/**
 * Created with IntelliJ IDEA.
 *
 * @author: cxs
 * @date: 2023/6/28
 * @time: 11:52
 * @className：Car
 * @description：车辆的实体类
 */
package com.bailan.bus.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Car {
    private String carnumber;
    private  String cartype;
    private  String color;
    private  double price;
    private  double rentprice;
    private  double deposit;
    private  int  isrenting;
    private  String description;
    private  String carimg;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GTM-8")
    private Date createtime;
}
